import 'package:flutter/material.dart';

class SettingsModel {
  SettingsModel({
    this.themeMode = ThemeMode.system,
    this.language = 'en',
  });

  final ThemeMode themeMode;
  final String language;

  SettingsModel copyWith({
    ThemeMode? themeMode,
    String? language,
  }) {
    return SettingsModel(
      themeMode: themeMode ?? this.themeMode,
      language: language ?? this.language,
    );
  }
}
